package com.xuecheng.api.system;

import com.xuecheng.api.system.model.dto.DictionaryDTO;
import io.swagger.annotations.Api;
import io.swagger.annotations.ApiOperation;

import java.util.List;

@Api(tags = "系统-数据字典相关API")
public interface DictionaryApi {

    @ApiOperation("查询数据字典全部数据")
    List<DictionaryDTO> queryDictionaryS();

    @ApiOperation("根据Code查询数据字典信息")
    DictionaryDTO queryDictionaryByCode(String code);
}
